import os
import time
from threading import Thread

from Basic.PATH import get_dictpath
from Basic.read_ini import ReadIni

from UiniTest.HTMLReportTest import HTMLReportTest
from UiniTest.ddtUnitest import UnitTest_Report
"""
dictpath
datatime
Testpy
"""
# dictpath = get_dictpath()
# readini = ReadIni()
# readini.set_value(dictpath[''])
datatime = time.strftime('%Y-%m-%d %H.%M.%S', time.localtime(time.time()))

t1 = Thread(target=HTMLReportTest().HTMLtest_main, args=(datatime, "ddtUnitest"))
# t2 = Thread(target=HTMLReportTest().HTMLtest_main, args=(datatime, "ddtUnitest"))
t1.start()
# t2.start()
# t2.join()
t1.join()